package com.aaa.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * Table: pms_product
 */
@Data
public class PmsProduct implements Serializable {
    /**
     * Table:     pms_product
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * 店铺ID
     *
     * Table:     pms_product
     * Column:    shop_id
     * Nullable:  false
     */
    private Long shopId;

    /**
     * 品牌ID
     *
     * Table:     pms_product
     * Column:    brand_id
     * Nullable:  true
     */
    private Long brandId;

    /**
     * 产品类别ID
     *
     * Table:     pms_product
     * Column:    product_category_id
     * Nullable:  true
     */
    private Long productCategoryId;

    /**
     * 产品属性类别ID
     *
     * Table:     pms_product
     * Column:    product_attribute_category_id
     * Nullable:  true
     */
    private Long productAttributeCategoryId;

    /**
     * Table:     pms_product
     * Column:    name
     * Nullable:  false
     */
    private String name;

    /**
     * Table:     pms_product
     * Column:    pic
     * Nullable:  true
     */
    private String pic;

    /**
     * 货号
     *
     * Table:     pms_product
     * Column:    product_sn
     * Nullable:  false
     */
    private String productSn;

    /**
     * 删除状态：0->未删除；1->已删除
     *
     * Table:     pms_product
     * Column:    delete_status
     * Nullable:  true
     */
    private Integer deleteStatus;

    /**
     * 上架状态：0->下架；1->上架
     *
     * Table:     pms_product
     * Column:    publish_status
     * Nullable:  true
     */
    private Integer publishStatus;

    /**
     * 新品状态:0->不是新品；1->新品
     *
     * Table:     pms_product
     * Column:    new_status
     * Nullable:  true
     */
    private Integer newStatus;

    /**
     * 推荐状态；0->不推荐；1->推荐
     *
     * Table:     pms_product
     * Column:    recommand_status
     * Nullable:  true
     */
    private Integer recommandStatus;

    /**
     * 排序
     *
     * Table:     pms_product
     * Column:    sort
     * Nullable:  true
     */
    private Integer sort;

    /**
     * 销量
     *
     * Table:     pms_product
     * Column:    sale
     * Nullable:  true
     */
    private Integer sale;

    /**
     * Table:     pms_product
     * Column:    price
     * Nullable:  true
     */
    private BigDecimal price;

    /**
     * 促销价格
     *
     * Table:     pms_product
     * Column:    promotion_price
     * Nullable:  true
     */
    private BigDecimal promotionPrice;

    /**
     * 赠送的积分
     *
     * Table:     pms_product
     * Column:    gift_point
     * Nullable:  true
     */
    private Integer giftPoint;

    /**
     * 副标题
     *
     * Table:     pms_product
     * Column:    sub_title
     * Nullable:  true
     */
    private String subTitle;

    /**
     * 市场价
     *
     * Table:     pms_product
     * Column:    original_price
     * Nullable:  true
     */
    private BigDecimal originalPrice;

    /**
     * 库存
     *
     * Table:     pms_product
     * Column:    stock
     * Nullable:  true
     */
    private Integer stock;

    /**
     * 库存预警值
     *
     * Table:     pms_product
     * Column:    low_stock
     * Nullable:  true
     */
    private Integer lowStock;

    /**
     * 单位
     *
     * Table:     pms_product
     * Column:    unit
     * Nullable:  true
     */
    private String unit;

    /**
     * 商品重量，默认为克
     *
     * Table:     pms_product
     * Column:    weight
     * Nullable:  true
     */
    private BigDecimal weight;

    /**
     * 以逗号分割的产品服务：1->无忧退货；2->快速退款；3->免费包邮
     *
     * Table:     pms_product
     * Column:    service_ids
     * Nullable:  true
     */
    private String serviceIds;

    /**
     * Table:     pms_product
     * Column:    keywords
     * Nullable:  true
     */
    private String keywords;

    /**
     * Table:     pms_product
     * Column:    note
     * Nullable:  true
     */
    private String note;

    /**
     * 画册id
     *
     * Table:     pms_product
     * Column:    album_id
     * Nullable:  true
     */
    private Long albumId;

    /**
     * Table:     pms_product
     * Column:    detail_title
     * Nullable:  true
     */
    private String detailTitle;

    /**
     * 促销开始时间
     *
     * Table:     pms_product
     * Column:    promotion_start_time
     * Nullable:  true
     */
    private Date promotionStartTime;

    /**
     * 促销结束时间
     *
     * Table:     pms_product
     * Column:    promotion_end_time
     * Nullable:  true
     */
    private Date promotionEndTime;

    /**
     * 活动限购数量
     *
     * Table:     pms_product
     * Column:    promotion_per_limit
     * Nullable:  true
     */
    private Integer promotionPerLimit;

    /**
     * 促销类型：0->没有促销使用原价;1->使用促销价；2->使用会员价；3->使用阶梯价格；4->使用满减价格；5->限时购
     *
     * Table:     pms_product
     * Column:    promotion_type
     * Nullable:  true
     */
    private Integer promotionType;

    /**
     * 品牌名称
     *
     * Table:     pms_product
     * Column:    brand_name
     * Nullable:  true
     */
    private String brandName;

    /**
     * 商品分类名称
     *
     * Table:     pms_product
     * Column:    product_category_name
     * Nullable:  true
     */
    private String productCategoryName;

    /**
     * 币种，0-> 人民币;  1-> 积分
     *
     * Table:     pms_product
     * Column:    currency
     * Nullable:  true
     */
    private Byte currency;

    /**
     * 商品描述
     *
     * Table:     pms_product
     * Column:    description
     * Nullable:  true
     */
    private String description;

    /**
     * Table:     pms_product
     * Column:    detail_desc
     * Nullable:  true
     */
    private String detailDesc;

    /**
     * 产品详情网页内容
     *
     * Table:     pms_product
     * Column:    detail_html
     * Nullable:  true
     */
    private String detailHtml;

    /**
     * 移动端网页详情
     *
     * Table:     pms_product
     * Column:    detail_mobile_html
     * Nullable:  true
     */
    private String detailMobileHtml;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table pms_product
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}